package com.sxm.yiwei.beans.pinche;


import com.sxm.yiwei.base.BaseBean;
import com.sxm.yiwei.constant.Constant;

import java.util.ArrayList;

/**
 * Created by Administrator on 2017/10/17.
 */

public class Order extends BaseBean {
    private int order_publisher=1;//1,乘客；20车主
    private int style=0;//0,长途；1，同城；2，旅游；3，长途急件
    private String start_city;
    private String end_city;
    private String depart_time;//2017-10-20
    private String service_code;//流水号
    private double distance;

    private String icon;
    private String phone;
    private String words;
    private String time;
    private String start_place;
    private String end_place;
    private String service_id;

    private String start_time;//开始时间
    private String end_time;//截止时间2017-10-20 19:20

    private int vehicle_type;
    private int seats;

    private int pay_type;
    private double loss_money;
    private String order_id;
    private String order_code;
    private int who_created;
    private long leaveOffTime;
    private int identity;

    public int getIdentity() {
        return identity;
    }

    public void setIdentity(int identity) {
        this.identity = identity;
    }

    public long getLeaveOffTime() {
        return leaveOffTime;
    }

    public void setLeaveOffTime(long leaveOffTime) {
        this.leaveOffTime = leaveOffTime;
    }

    public int getWho_created() {
        return who_created;
    }

    public void setWho_created(int who_created) {
        this.who_created = who_created;
    }

    public String getOrder_code() {
        return order_code;
    }

    public void setOrder_code(String order_code) {
        this.order_code = order_code;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public double getLoss_money() {
        return loss_money;
    }

    public void setLoss_money(double loss_money) {
        this.loss_money = loss_money;
    }

    public int getPay_type() {
        return pay_type;
    }

    public void setPay_type(int pay_type) {
        this.pay_type = pay_type;
    }

    /*
        * 订单状态
        * */
    private int order_type;//条目布局种类
    private int is_online;//0,在线；1，不在线（喂一下功能状态值）
    private int is_timeout=Constant.NO;//订单是否超时

    private int is_published;//是否发布
    private int is_bought;//是否购买成功
    private int is_taked;//是否被接单
    private int is_in_service;//是否在服务中
    private int is_finished;//是否已完结，应该有4中状态
    private int is_return;//是否赔付
    private int who_return;//谁赔付
    private String why_return;//赔付原因
    private double payment;//赔偿金额
    private double passerPayback;//乘客返还金额
    private double ownerPayback;//车主返还金额

    private int is_change;//是否改签
    private int is_appeal;//是否申诉
    private int is_reply;//客服是否回复
    private int is_in_car;//乘客是否上车
    private int form_way;//形成订单的方式
    private int is_sale_start;//是否开始售票
    private int is_pay_loss= Constant.YES;//是否支付爽约金

    /*
    * 长途急件状态
    * */
    private int in_service_state;
    private int wait_finish_state;

    private double total_money;
    private double single_money;
    private String ownerId;
    private String nickname;

    private ArrayList<String> imgList;
    private String pay_time;

    private int rest_tickets;

    public String getWhy_return() {
        return why_return;
    }

    public void setWhy_return(String why_return) {
        this.why_return = why_return;
    }

    public int getRest_tickets() {
        return rest_tickets;
    }

    public double getPayment() {
        return payment;
    }

    public void setPayment(double payment) {
        this.payment = payment;
    }

    public double getPasserPayback() {
        return passerPayback;
    }

    public void setPasserPayback(double passerPayback) {
        this.passerPayback = passerPayback;
    }

    public double getOwnerPayback() {
        return ownerPayback;
    }

    public void setOwnerPayback(double ownerPayback) {
        this.ownerPayback = ownerPayback;
    }

    public void setRest_tickets(int rest_tickets) {
        this.rest_tickets = rest_tickets;
    }

    public String getPay_time() {
        return pay_time;
    }

    public void setPay_time(String pay_time) {
        this.pay_time = pay_time;
    }

    public double getSingle_money() {
        return single_money;
    }

    public void setSingle_money(double single_money) {
        this.single_money = single_money;
    }

    public ArrayList<String> getImgList() {
        return imgList;
    }

    public void setImgList(ArrayList<String> imgList) {
        this.imgList = imgList;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }

    public double getTotal_money() {
        return total_money;
    }

    public void setTotal_money(double total_money) {
        this.total_money = total_money;
    }

    public int getSeats() {
        return seats;
    }

    public void setSeats(int seats) {
        this.seats = seats;
    }

    public int getWait_finish_state() {
        return wait_finish_state;
    }

    public void setWait_finish_state(int wait_finish_state) {
        this.wait_finish_state = wait_finish_state;
    }

    public int getIn_service_state() {
        return in_service_state;
    }

    public void setIn_service_state(int in_service_state) {
        this.in_service_state = in_service_state;
    }

    public int getIs_pay_loss() {
        return is_pay_loss;
    }

    public void setIs_pay_loss(int is_pay_loss) {
        this.is_pay_loss = is_pay_loss;
    }

    public int getIs_sale_start() {
        return is_sale_start;
    }

    public void setIs_sale_start(int is_sale_start) {
        this.is_sale_start = is_sale_start;
    }

    public int getVehicle_type() {
        return vehicle_type;
    }

    public void setVehicle_type(int vehicle_type) {
        this.vehicle_type = vehicle_type;
    }

    public int getIs_in_car() {
        return is_in_car;
    }

    public void setIs_in_car(int is_in_car) {
        this.is_in_car = is_in_car;
    }

    public int getIs_reply() {
        return is_reply;
    }

    public void setIs_reply(int is_reply) {
        this.is_reply = is_reply;
    }

    public int getWho_return() {
        return who_return;
    }

    public void setWho_return(int who_return) {
        this.who_return = who_return;
    }

    public int getForm_way() {
        return form_way;
    }

    public void setForm_way(int form_way) {
        this.form_way = form_way;
    }

    public int getIs_bought() {
        return is_bought;
    }

    public void setIs_bought(int is_bought) {
        this.is_bought = is_bought;
    }

    public int getIs_taked() {
        return is_taked;
    }

    public void setIs_taked(int is_taked) {
        this.is_taked = is_taked;
    }

    public int getIs_in_service() {
        return is_in_service;
    }

    public void setIs_in_service(int is_in_service) {
        this.is_in_service = is_in_service;
    }

    public int getIs_finished() {
        return is_finished;
    }

    public void setIs_finished(int is_finished) {
        this.is_finished = is_finished;
    }

    public int getIs_return() {
        return is_return;
    }

    public void setIs_return(int is_return) {
        this.is_return = is_return;
    }

    public int getIs_change() {
        return is_change;
    }

    public void setIs_change(int is_change) {
        this.is_change = is_change;
    }

    public int getIs_appeal() {
        return is_appeal;
    }

    public void setIs_appeal(int is_appeal) {
        this.is_appeal = is_appeal;
    }

    public int getIs_timeout() {
        return is_timeout;
    }

    public void setIs_timeout(int is_timeout) {
        this.is_timeout = is_timeout;
    }

    public int getIs_published() {
        return is_published;
    }

    public void setIs_published(int is_published) {
        this.is_published = is_published;
    }

    public int getOrder_type() {
        return order_type;
    }

    public void setOrder_type(int order_type) {
        this.order_type = order_type;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public String getService_id() {
        return service_id;
    }

    public void setService_id(String service_id) {
        this.service_id = service_id;
    }

    public double getDistance() {
        return distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public String getService_code() {
        return service_code;
    }

    public void setService_code(String service_code) {
        this.service_code = service_code;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWords() {
        return words;
    }

    public void setWords(String words) {
        this.words = words;
    }

    public int getIs_online() {
        return is_online;
    }

    public void setIs_online(int is_online) {
        this.is_online = is_online;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getStart_place() {
        return start_place;
    }

    public void setStart_place(String start_place) {
        this.start_place = start_place;
    }

    public String getEnd_place() {
        return end_place;
    }

    public void setEnd_place(String end_place) {
        this.end_place = end_place;
    }

    public int getOrder_publisher() {
        return order_publisher;
    }

    public void setOrder_publisher(int order_publisher) {
        this.order_publisher = order_publisher;
    }

    public int getStyle() {
        return style;
    }

    public void setStyle(int style) {
        this.style = style;
    }

    public String getStart_city() {
        return start_city;
    }

    public void setStart_city(String start_city) {
        this.start_city = start_city;
    }

    public String getEnd_city() {
        return end_city;
    }

    public void setEnd_city(String end_city) {
        this.end_city = end_city;
    }

    public String getDepart_time() {
        return depart_time;
    }

    public void setDepart_time(String depart_time) {
        this.depart_time = depart_time;
    }
}
